<template>
  <div id="app">
    <ul>
      <li>
        <!-- <router-link>用于导航 -->
        <router-link to="/EmployeeList">员工列表</router-link>
      </li>
      <!-- <li>
        <router-link to="/EmployeeAdd">添加员工</router-link>
      </li> -->
    </ul>
    <!-- router-view 用于显示匹配的组件，类似显示路由到的组件的区域 -->
    <router-view/>
  </div>
</template>

<script>
import HelloWorld from './components/HelloWorld.vue'

export default {
  name: 'App',
  components: {
    HelloWorld
  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
